<?php
//ip client
$ip= $_SERVER["REMOTE_ADDR"];

//database;

$user="root";
$password="d0d0lg4rut";
$host="localhost";
$database="youtube";

//load database function
require_once('file:///C|/DOCUME~1/MAMAT-~1/LOCALS~1/Temp/scp00031/inc/class.mysql.php');
$mysql = new Mysql($host,$user,$password,$database);
$mysql->connect();

//blok
function getWordNotSearch(){
	$word = array("perex","perex","telanjang","bulat","3gp","suck","moom","drunk","bokep","vag","pen","scandal","skandal","teen","girl","strip","underwear","shit","fuked","sek","dance","hot","booty","japanes","kiss","sex","bikini","hot","naked","naughty","gay","lesb","fuck","nud","bir","porn","bugil","tetek","adult");

	$str = "";
	for($i=0;$i<count($word);$i++){
		if($i==(count($word)-1)){
			$str.=" tag not like '%".$word[$i]."%' and title not like '%".$word[$i]."%' and description not like '%".$word[$i]."%' ";
		} else {
			$str.=" tag not like '%".$word[$i]."%' and title not like '%".$word[$i]."%' and description not like '%".$word[$i]."%' and ";
		}
	}
	return $str;
}

$notSearch = getWordNotSearch();

?>